//
//  FaBuLovalView.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/4/14.
//  Copyright © 2016年 game. All rights reserved.
//

#import "FaBuLocalView.h"

@interface FaBuLocalView ()

@end

@implementation FaBuLocalView



-(void)awakeFromNib{

    NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];

    if ([ud valueForKey:@"thoroughfare"]) {
        self.localLab.text = [ud valueForKey:@"thoroughfare"];
    }else{
    self.localLab.text = [ud valueForKey:@"localName"];
    
    }

}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
